home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_1 / atcpsd40.lha / AmiTCP-4.0-gcc / netinclude / devices / sana2specialstats.h < prev    next >
C/C++ Source or Header  |  1995-04-07  |  2KB  |  57 lines

  1. #ifndef SANA2_SANA2SPECIALSTATS_H
  2. #define SANA2_SANA2SPECIALSTATS_H 1
  3. /*
  4. **      $Filename: devices/sana2specialstats.h $
  5. **      $Revision: 1.4 $
  6. **      $Date: 93/01/04 12:12:50 $
  7. **
  8. **      Defined ids for SANA-II special statistics.
  9. **
  10. **
  11. **      (C) Copyright 1991 Commodore-Amiga Inc.
  12. **              All Rights Reserved
  13. */
  14.  
  15.  
  16. #ifndef SANA2_SANA2DEVICE_H
  17. #include <sana2/sana2device.h>
  18. #endif  /* !SANA2_SANA2DEVICE_H */
  19.  
  20.  
  21. /*
  22. ** The SANA-II special statistic identifier is an unsigned 32 number.
  23. ** The upper 16 bits identify the type of network wire type to which
  24. ** the statistic applies and the lower 16 bits identify the particular
  25. ** statistic.
  26. **
  27. ** If you desire to add a new statistic identifier, contacts CATS.
  28. */
  29.  
  30.  
  31.  
  32. /*
  33. ** defined ethernet special statistics
  34. */
  35.  
  36. #define S2SS_ETHERNET_BADMULTICAST      ((((S2WireType_Ethernet)&0xffff)<<16)|0x0000)
  37. /*
  38. ** This count will record the number of times a received packet tripped
  39. ** the hardware's multicast filtering mechanism but was not actually in
  40. ** the current multicast table.
  41. */
  42.  
  43. #define S2SS_ETHERNET_RETRIES           ((((S2WireType_Ethernet)&0xffff)<<16)|0x0001)
  44. /*
  45. ** This count records the total number of retries which have resulted
  46. ** from transmissions on this board.
  47. */
  48.  
  49.  
  50. #define S2SS_ETHERNET_FIFO_UNDERRUNS    ((((S2WireType_Ethernet)&0xffff)<<16)|0x0002)
  51. /*
  52. ** This count records an error condition which indoicates that the host
  53. ** computer did not feed the network interface card at a high enough rate.
  54. */
  55.  
  56. #endif  /* SANA2_SANA2SPECIALSTATS_H */
  57.